package com.zbkj.crmeb.store.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zbkj.crmeb.enums.BannerJumpTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * banner设置
 * @Description: 
 * @author duyb
 * @date 2022-10-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_store_banner_set_up")
@ApiModel(value="StoreBannerSetUp对象", description="banner设置")
public class StoreBannerSetUp implements Serializable {
    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "banner名称")
    private String bannerName;
    
    @ApiModelProperty(value = "跳转类型 1: 商品 2: 模块 3: 品牌")
    private BannerJumpTypeEnum type;
    
    @ApiModelProperty(value = "跳转对象 JSON格式")
    private String jumpObject;
    
    @ApiModelProperty(value = "banner图片")
    private String image;

    @ApiModelProperty(value = "背景图片")
    private String bgImage;

    @ApiModelProperty(value = "排序")
    private Integer sort;
    
    @ApiModelProperty(value = "是否显示")
    private Boolean isShow;

    @ApiModelProperty(value = "添加时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    
}